package com.itheima.studentmanager.service;

import com.itheima.studentmanager.pojo.Student;

import java.util.List;

/**
 * The interface Student service.
 */
public interface StudentService {


    /**
     * Register student.
     *
     * @param student the student
     * @return the student
     */
    Student register(Student student);


    /**
     * Gets student by id.
     *
     * @param id the id
     * @return the student by id
     */
    Student getStudentById(Integer id);

    /**
     * Delete student by id.
     *
     * @param id the id
     */
    void deleteStudentById(Integer id);

    /**
     * Find all student list.
     *
     * @return the list
     */
    List<Student> findAllStudent();

    /**
     * Update student.
     *
     * @param student the student
     */
    void updateStudent(Student student);

    /**
     * Delete batch student.
     *
     * @param ids the ids
     */
    void deleteBatchStudent(List<Integer> ids);
}
